package com.idanchuang.database.manage.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * @param
 * @author:zhangmengsi
 * @description:
 * @date:Created in 11:52 2021/2/5
 */
@TableName("test")
public class UserInfo implements Serializable {
    private static final long serialVersionUID = 4182584995905294637L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "name")
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
